// 基础设置
@import "setting";

// 皮肤调用
@import "@{color-setting}";

@import "override";

@import "style";

html {
  height: 100%;
  display: flex;
  body {
    flex: 1;
    margin: 0;
    display: flex;
    font-size: 28px;
    overflow: auto;
    #app {
      flex: 1;
      display: flex;
      overflow: auto;
    }
  }
}

h1, h2, h3, h4, p {
  margin: 0;
}
strong {
  font-weight: normal;
}
em {
  font-style: normal;
}
ul, li {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}

// 顶部错误提示
#error-notice {
  height: auto;
  z-index: 999999;
  background-color: #fffada;
  position: absolute;
  width: 100%;
  & > div {
    height: 80px;
    line-height: 80px;
    color: #f86e21;
    font-size: 32px;
    flex: 1;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: auto 30px;
  }
}

#app {
  @placeholderFontSize: 28px;
  // 修改 placeholder 样式
  input[placeholder], [placeholder], *[placeholder] {
    color: @color-placeholder;
    font-size: @placeholderFontSize;
  }
  input::-webkit-input-placeholder { /* WebKit browsers */
    color: @color-placeholder;
    font-size: @placeholderFontSize;
  }
  input::-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: @color-placeholder;
    font-size: @placeholderFontSize;
  }
  input:moz-placeholder { /* Mozilla Firefox 19+ */
    color: @color-placeholder;
    font-size: @placeholderFontSize;
  }
  input::-ms-input-placeholder { /* Internet Explorer 10+ */
    color: @color-placeholder;
    font-size: @placeholderFontSize;
  }
}

.rt-app-container {
  flex: 1;
  display: flex;
  overflow: auto;
  & > div {
    flex: 1;
    background-color: @color-background;
    overflow: auto;
    display: flex;
    flex-direction: column;
  }
}

@import "../../components/main/style";
@import "../../components/project/style";
@import "../../components/user/style";
@import "../../components/account/style";
@import "../../components/share/style";